<?php
return [
	'pc'=>'http://jd-pc.jdstb.com',
	//'pc'=>'http://www.jdstb.com',
	'wap'=>'http://jd-m.jdstb.com',
	'api'=>'http://jd-api.jdstb.com',
	'static'=>'http://jd-static.jdstb.com',
//     'static'=>'http://jdjd.static.com',
	'backend'=>'http://jd-backend.jdstb.com',


	'officerlink' => 'http://www.shanghaihomeexpo.com/museum/detail/24.html',	//官别


	'imageBathUrl' => 'http://jd-static.jdstb.com',
	//'imageCurlUrl' => 'http://202.1.100.47:8083/v2/pic-upload/index',	//远程上传地址
	'imageCurlUrl' => 'http://jd-api.jdstb.com/v2/pic-upload/index',	//远程上传地址
	//'imageBathUrl' => 'http://jdjd.static.com',
	//获取二维码链接
	'get_wechat_url' => 'http://jd-pc.jdstb.com/goods/get-goods-url',
	//'get_wechat_url' => 'http://www.jdstb.com/goods/get-goods-url',
	'wechat_url_logo' => 'http://jd-pc.jdstb.com/goods/qrcode',
	//'wechat_url_logo' => 'http://www.jdstb.com/goods/qrcode',

	//add by FDG367 商品分享在非微信浏览器的扫码提示 467 2018-01-18 start
	//获取二维码链接
	'get_wechat_wap_url' => 'http://jd-m.jdstb.com/goods/get-goods-url',
	//生成二维码链接
	'wechat_url_wap_logo' => 'http://jd-m.jdstb.com/goods/qrcode',
	//add by FDG367 商品分享在非微信浏览器的扫码提示 467 2018-01-18 end

	//授权登录key
	'wechat_authorization'=>[
		'debug'  => true,
		'app_id' => 'wxdd0ebd2792eb800d',
		'secret' => 'b17d24b5be1c12c791c76ccca4cf2f53',
		'token'  => '',
		'log' => [
			'level' => 'debug',
			'file'  => '',
		],
	],

	//授权toekn
	'jdstb_shanghaihomeexpo_token'=>'http://api.shanghaihomeexpo.com/token.php',

	//扫码登录key
	'wechat_scan_code'=>[
		'debug'  => true,
		'app_id' => 'wx5d353846aabfc2cd',
		'secret' => '26282de2c06186fbe2ba90f68d73bab3',
		'token'  => 'abc',
		'log' => [
			'level' => 'debug',
			'file'  => '',
		],
	],
	//微信授权回调地址
	'wechat_callback_url'		=>'http://jd-m.jdstb.com/login/wechat-login-callback',

	//扫码登录回调地址
	'wechat_pc_callback_url'	=>'http://jd-pc.jdstb.com/login/wechat-login-callback',

	//微信接口访问地址
	'wechat_url'=>[
		'connect_qrconnect'	=>'https://open.weixin.qq.com/connect/qrconnect?',
		'oauth_authorize'	=>'https://open.weixin.qq.com/connect/oauth2/authorize?',
		'oauth_access_token'=>'https://api.weixin.qq.com/sns/oauth2/access_token',
		'access_token'		=>'https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential',
		'sns_userinfo'		=>'https://api.weixin.qq.com/sns/userinfo',
		'jsapi'				=>'https://api.weixin.qq.com/cgi-bin/ticket/getticket?type=jsapi&access_token=',//分享票据
		'sendmessage'		=>'https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=',			//消息推送
		'industry'		=>'https://api.weixin.qq.com/cgi-bin/template/get_industry?access_token=',			//文章推送
		'private_template'		=>'https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token=',			//文章推送
	],

	//udesk客服配置
	'udesk'=>[
		'code'  => '1k3kefe9',
		'link' => 'http://jdstb.udesk.cn/im_client?web_plugin_id=35447',
	],

	//商品详情页客服配置
	'udesk_goods_detaill'=>[
		'code'  => '1k3kefe9',
		'link' => 'http://jdstb.udesk.cn/im_client?web_plugin_id=35447',

	],

	//udesk客服配置
	'wap_udesk'=>[
		'code'  => '1k3kefe9',
		'link' => 'http://jdstb.udesk.cn/im_client/?web_plugin_id=39878',
		'mobile'=>[
			"mode"=> "blank",
			"color"=> "#307AE8",
			"pos_flag"=> "irb",
			"onlineText"=> "联系客服，在线咨询",
			"offlineText"=> "客服下班，请留言"
		],
		'css'=>[
			'bottom'=>'4.5rem',
			'right'=>'0.8rem',
			'width'=> '1.5rem',
			'display'=>'none'
		]
	],

	//测试环境获取线下用户信息对应的网关
	'soap_genre_url'=>'http://202.1.80.31:8001/ForEC.asmx?wsdl',
	//点客短信平台接口URL
	'sms_dianke'=>'http://175.102.15.131/msg/HttpSendSM?account=yungui&pswd=TZV0rLL@',

	//定义REDIS前缀 测试jd_mall_test  预发布jd_mall_preview 正式jd_mall_online
	'sys_redis_prefix' => 'jd_mall_preview_',

	/*百度统计代码生效开关，测试环境，预发布环境需要关闭 on/off*/
	'switch_baidu_tj' => 'off',
];